[Zend Framework] How to format Zend_db Rowset output?

Posted by rasouza on Stack Overflow See other posts from Stack Overflow or by rasouza
Published on 2010-05-16T10:36:43Z Indexed on 2010/05/16 10:40 UTC
Read the original article Hit count: 205

Filed under:
|
|

I have a model which is referenced to a table registries extending Zend_Db and some methods which bascially uses fetchAll() all the time.

What happens is: my table has a DATE field and I'd like it to output already formated when I call $row->reg_date. Is it possible by doing something in the model or do I have to manually format?

© Stack Overflow or respective owner

Related posts about zend-framework

Related posts about php